package Mysinglelist;

public class test {
    public static void main(String[] args) {
        mysinglelist list=new mysinglelist();
        list.creatList();
//        list.show();
//        System.out.println(list.size());
//        System.out.println(list.contains(200));
//        mysinglelist.ListNode newnode = new mysinglelist.ListNode(100);

//        list.addFirst(100);
//        list.show();
//        System.out.println(list.size());
//        System.out.println(list.contains(100));
//        System.out.println("111");
//        list.addEnd(200);
//        list.addIndex(2,3);
        list.show();
        list.removekey(30);
        list.show();
//        System.out.println(list.size());
//        System.out.println(list.contains(100));
    }
}
